package com.handtransaction.entity;

import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author YAO
 * @create 2021-04-02 1:28
 */
@Component
public class Container<T> {
    private List<T> items;

    public Container(List<T> items) {
        this.items = items;
    }

    public Container() {
    }

    @Override
    public String toString() {
        return "Container{" +
                "items=" + items +
                '}';
    }

    public List<T> getItems() {
        return items;
    }

    public void setItems(List<T> items) {
        this.items = items;
    }
}
